package com.zh.boottinymybatisplus.service.impl;

import com.zh.boottinymybatisplus.model.User;
import com.zh.boottinymybatisplus.dao.UserMapper;
import com.zh.boottinymybatisplus.service.IUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhanghuan
 * @since 2022-10-23
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

    @Override
    public List<User> getUserList() {
        return this.baseMapper.selectList(null);
    }
}
